package com.pwt.model;

import com.pwt.model.what.CharacteristicsModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author dw
 * @version 1.0.0
 * @date 2021/9/29
 */
@Data
@Schema(name = "图表返回模型",description = "图表返回模型")
public class ChartModel {

    @Schema(description = "零件Id")
    private Integer partId;

    @Schema(description = "零件名称")
    private String part;

    @Schema(description = "控制限上限")
    private Double acceptanceUp;

    @Schema(description = "控制限下限")
    private Double acceptanceDown;

    @Schema(description = "公差限 上限")
    private Double toleranceUp;

    @Schema(description = "公差限 下限")
    private Double toleranceDown;

    @Schema(description = "报废上限")
    private Double scrapUp;

    @Schema(description = "报废下限")
    private Double scrapDown;

    @Schema(description = "数据集合")
    private List<ChartValueModel> list;

    @Schema(description = "拟合曲线数据集合")
    private List<List<Object>>  curveList;

}
